<template>
	<view class="noLogin" @click.stop="goLogin" :style="[{
		margin: margin
	}]">登录查看会员价</view>
</template>

<script>
	export default {
		name:"pt-noLogin",
		props: {
			margin: {
				type: String,
				default: '20rpx auto 0;'
			}
		},
		data() {
			return {
				
			};
		},
		methods: {
			goLogin(){
				uni.navigateTo({
					url: '/pages/login/login'
				})
			}
		}
	}
</script>

<style lang="scss" scoped>
	.noLogin{
		display: inline-flex;
		background-color: #F59359;
		color: #FFF;
		border-radius: 10rpx;
		padding: 6rpx 12rpx;
		font-size: 20rpx;
	}
</style>
